package com.foreknow.elm.dao;

import com.foreknow.elm.po.Business;
import com.foreknow.elm.po.Deliveryaddress;
import com.foreknow.elm.po.Food;

import java.util.List;

public interface BusinessDao {
    /**
     * BusinessController/listBusinessByOrderTypeId
     * 参数：orderTypeId
     * 返回值：business数组
     * 功能：根据点餐分类编号查询所属商家信息
     */
    public List<Business> listBusinessByOrderTypeId(Integer orderTypeId) throws  Exception;

    /**
     *   BusinessController/getBusinessById
     *     参数：businessId
     *     返回值：business对象
     *     功能：根据商家编号查询商家信息
     */
    public  Business getBusinessById(Integer businessId)  throws Exception;



}
